<?php if($adc->getCurrentAdTypeId() > 0): ?>
<?php if($theme->getBootstrap() > 2): ?>
<div class="control-group">
    <label for="pmin"><?php echo ucfirst($txt->getWord('price')); ?> &nbsp;&nbsp;&nbsp;&nbsp; <span class="help-inline">(<?php echo $adc->getSetting('GlobalCurrency'); ?>)</span></label>
    <div class="controls row">
    	<div class="col-md-4 col-sm-4 col-xs-4">
            <input placeholder="10000" class="input-mini numeric form-control" type="number" name="pmin" onclick="this.value='';" value="<?php if(intval($_REQUEST['pmin']) > 0) { echo intval($_REQUEST['pmin']); } ?>" />
        </div>
        <div class="col-md-1 col-sm-1 col-xs-1">
        	<p class="form-control-static">-</p>
        </div>
        <div class="col-md-4 col-sm-4 col-xs-4">
        	<input placeholder="100000" class="input-mini numeric form-control" type="number" name="pmax" onclick="this.value='';" value="<?php if(intval($_REQUEST['pmax']) > 0) { echo intval($_REQUEST['pmax']); } ?>" />
        </div>
        <div class="col-md-3 col-sm-3 col-xs-3">
        <button type="submit" class="btn <?php echo $adc->getSetting('SearchBtnClass'); ?>" name="search"><?php echo ucfirst($txt->getWord('search')); ?></button>
        </div>
    </div>
</div>
<?php else: ?>
<div class="control-group">
    <label class="control-label" for="pmin"><?php echo ucfirst($txt->getWord('price')); ?> &nbsp;&nbsp;&nbsp;&nbsp; <span class="help-inline">(<?php echo $adc->getSetting('GlobalCurrency'); ?>)</span></label>
    <div class="controls">
    	<input placeholder="10000" class="input-mini numeric" type="text" name="pmin" onclick="this.value='';" value="<?php if(intval($_REQUEST['pmin']) > 0) { echo intval($_REQUEST['pmin']); } ?>" />
        <span>&nbsp;-&nbsp;</span>
        <input placeholder="100000" class="input-mini numeric" type="text" name="pmax" onclick="this.value='';" value="<?php if(intval($_REQUEST['pmax']) > 0) { echo intval($_REQUEST['pmax']); } ?>" />
        <button type="submit" class="btn <?php echo $adc->getSetting('SearchBtnClass'); ?>" name="search"><?php echo ucfirst($txt->getWord('search')); ?></button>
    </div>
</div>
<?php endif; ?>
<?php endif; ?>